<#assign modelName=table.modelName>
<#assign idTypeName=table.idColumn.javaType.simpleName>
<#assign baseMapperName='BaseMapper'>
<#-- package -->
package ${repositoryPackage};

import org.springframework.stereotype.Repository;
<#if table.modelType??>
    <#if table.modelType.type=="Sortable">
        <#assign baseMapperName='SortableMapper'>
    <#elseif table.modelType.type=="Treeable">
        <#assign baseMapperName='TreeableMapper'>
    </#if>
</#if>
import ${basePackage}.core.${baseMapperName};
import ${domainPackage}.${modelName};

@Repository
public interface ${modelName}Mapper extends ${baseMapperName}<${modelName}, ${idTypeName}> {
}